Interface com.symantec.itools.vcafe.openapi.BuildListener
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.symantec.itools.vcafe.openapi.BuildListener

public interface BuildListener
The listener interface for receiving notification about the status of a VisualProject's build. To be notified of changes, a plug-in implements this interface then calls BuildManager.addBuildListener to place itself on the notification list. When the build status changes, the appropriate method of this interface is called. If you are only interested in a subset of the notification methods, you can extend the BuildAdapter class rather than implement all the methods yourself.

Version:
1.0
Author:
Symantec Internet Tools Division
Since:
VCafe 3.0
See Also:
getBuildManager, addBuildListener, BuildAdapter

Variable Index

 o BUILD_CANCELLED
Indicates that the user cancelled a build.
 o BUILD_FAILED
Indicates that a build failed.
 o BUILD_FINISHED
Indicates that a build completed normally.

Method Index

 o aboutToBuildProject(VisualProject)
Invoked when a project build commences.
 o doneBuildingProject(VisualProject, int)
Invoked when the project build finishes.

Variables

 o BUILD_CANCELLED
public static final int BUILD_CANCELLED
Indicates that the user cancelled a build.

 o BUILD_FAILED
public static final int BUILD_FAILED
Indicates that a build failed.

 o BUILD_FINISHED
public static final int BUILD_FINISHED
Indicates that a build completed normally.

Methods

 o aboutToBuildProject
public abstract void aboutToBuildProject(VisualProject visualProject)
Invoked when a project build commences.

Parameters:
visualProject - the project that is being built.
 o doneBuildingProject
public abstract void doneBuildingProject(VisualProject visualProject,
                                         int howFinished)
Invoked when the project build finishes.

Parameters:
visualProject - the project that was being built.
howFinished - how the build finished. Can be one of:
  • BUILD_FINISHED - the build completed normally,
  • BUILD_CANCELLED - the user cancelled the build, or
  • BUILD_FAILED - the build failed.

All Packages  Class Hierarchy  This Package  Previous  Next  Index